package com.eostoken.eos_wallet.utils;

import android.app.Activity;
import android.content.Intent;
import android.view.View;

import com.blankj.utilcode.constant.PermissionConstants;
import com.blankj.utilcode.util.ActivityUtils;
import com.blankj.utilcode.util.FragmentUtils;
import com.blankj.utilcode.util.PermissionUtils;
import com.blankj.utilcode.util.SnackbarUtils;
import com.blankj.utilcode.util.UtilsTransActivity;
import com.eostoken.eos_wallet.helper.DialogHelper;
import com.eostoken.eos_wallet.ui.activity.QrcodeScanActivity;

import java.util.List;

public class ViewUtils {

    public static void showSnackbar(View mContentView, Boolean isSuccess, String msg) {
        SnackbarUtils snackbarUtils = SnackbarUtils.with(mContentView).setDuration(SnackbarUtils.LENGTH_LONG).setMessage(msg);
        if (isSuccess) {
            snackbarUtils.showSuccess();
        } else {
            snackbarUtils.showError();
        }
    }


}
